package org.vectrics.project.task;

import java.util.Date;

import org.vectrics.common.db.Expirable;
import org.vectrics.common.db.RecordObject;
import org.vectrics.user.Person;

public class TaskStatus implements RecordObject, Expirable {
	private Long id = null;
	private Date dateStart = null;
	private Date dateEnd = null;
	private Person changedBy = null;
	private Task task = null;
	private TaskStatusType taskStatusType = null;
	
	public TaskStatus() {
		super();
	}

	/**
	 * @return Returns the dateEnd.
	 */
	public Date getDateEnd() {
		return dateEnd;
	}

	/**
	 * @param dateEnd The dateEnd to set.
	 */
	public void setDateEnd(Date dateEnd) {
		this.dateEnd = dateEnd;
	}

	/**
	 * @return Returns the dateStart.
	 */
	public Date getDateStart() {
		return dateStart;
	}

	/**
	 * @param dateStart The dateStart to set.
	 */
	public void setDateStart(Date dateStart) {
		this.dateStart = dateStart;
	}

	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return Returns the task.
	 */
	public Task getTask() {
		return task;
	}

	/**
	 * @param task The task to set.
	 */
	public void setTask(Task task) {
		this.task = task;
	}

	/**
	 * @return Returns the changedBy.
	 */
	public Person getChangedBy() {
		return changedBy;
	}

	/**
	 * @param changedBy The changedBy to set.
	 */
	public void setChangedBy(Person changedBy) {
		this.changedBy = changedBy;
	}

	/**
	 * @return Returns the taskStatusType.
	 */
	public TaskStatusType getTaskStatusType() {
		return taskStatusType;
	}

	/**
	 * @param taskStatusType The taskStatusType to set.
	 */
	public void setTaskStatusType(TaskStatusType taskStatusType) {
		this.taskStatusType = taskStatusType;
	}
	


}
